home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980424-19980901
/
000091_news@newsmaster….columbia.edu _Sun May 17 23:17:48 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA18374
for <kermit.misc@watsun.cc.columbia.edu>; Sun, 17 May 1998 23:17:47 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id XAA05346
for kermit.misc@watsun; Sun, 17 May 1998 23:17:47 -0400 (EDT)
Path: news.columbia.edu!sol.ctr.columbia.edu!paralynx!news.mindlink.net!paralynx-2!paralynx!paralynx-1!uniserve!newsfeeds.sol.net!wn3feed!worldnet.att.net!204.127.130.5!mtf1!newsadm
From: Bernie <bfb@worldnet.att.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: TAKE command file error problem
Date: Mon, 18 May 1998 01:55:41 +0000
Organization: AT&T WorldNet Services
Lines: 53
Message-ID: <6jo4eu$h2b@bgtnsc03.worldnet.att.net>
References: <6jni7f$kh6@bgtnsc03.worldnet.att.net> <6jnq14$m06$1@apakabar.cc.columbia.edu>
NNTP-Posting-Host: 12.68.112.244
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.04 [en] (X11; I; Linux 2.0.31 i586)
Xref: news.columbia.edu comp.protocols.kermit.misc:8744
The problem was an xif statement which
evidently was too long. I simply added an
additional xif dividing the original in half.
-Thanks
Frank da Cruz wrote:
> In article <6jni7f$kh6@bgtnsc03.worldnet.att.net>,
> Bernie <bfb@worldnet.att.net> wrote:
> : I have a macro defined as follows:
> :
> : define work -
> : define recipients bernie@cji.com,-
> : define mtype multitech,-
> : define mline /dev/term/i1H,-
> : define mspeed 19200,-
> : define ddir /home/oper
> :
> : Then later in the script, the following is executed:
> :
> : set line \m(mline)
> : if failure goto errhandler
> : set speed \m(mspeed)
> : if failure goto errhandler
> :
> : When the "set line \m(mline)" is executed, it generates the following
> : error:
> :
> : ?Error in TAKE command file: Line too long or contains NUL characters
> :
> : This same script works ok at home with C-Kernmit for linux. I only
> : encounter the error when I run the script on our UnixWare 2.02 server at
> : work, using the same version number, 6.0.192.
> :
> It checks out OK here. Are you sure you invoked the WORK macro after it
> was defined and before the SET LINE command was given?
>
> Try adding ECHO commands to debug:
>
> echo SET LINE: "\m(mline)"
> set line \m(mline)
> if failure goto errhandler
> echo SET SPEED: "\m(mspeed)"
> set speed \m(mspeed)
> if failure goto errhandler
>
> - Frank